/**
 * 版权所有：bmy
 * 邮箱：2271608011@qq.com
 * 备注：代码没啥好看的，写给自己用
 */

// 注入js文件

let scriptUrl = [
  '/js/jquery-1.9.1.min.js',
  '/js/script.js'
]

if(document.head) {
  scriptUrl.forEach(v => createdScript(v))
}

function createdScript(path) {
  let script = document.createElement('script');
  script.src = chrome.runtime.getURL(path);
  document.head.appendChild(script)
}